define(function () {
    var Module=function (id) {
        this.id=id;
    };
    Module.prototype= {
        id: '',//初始化焦点ID
        name: '',//初始化焦点ID
        nextFocusDown: '',//向下移动到的焦点ID
        nextFocusUp: '',//向上移动到的焦点ID
        nextFocusLeft: '',//向左移动到的焦点ID
        nextFocusRight: '',//向右移动到的焦点ID
        focusAble: true,//可以获取到焦点
        clickAble: true,//可点击
        css: {
            top: 0,
            left: 0,
            right: 0,
            bottom: 0,
        },
        template:'<div class="item"></div>',
        data:{
        },
        onClick: function () {

        },
        onFocus: function () {
            document.getElementById(this.id).className='item active'
        },
        onBlur: function () {
            document.getElementById(this.id).className='item'
        },
        onCreate: function () {

        },
        onDestroy: function () {

        },
        show: function () {

        },
        hide: function () {

        }
    };

    return Module;
});
